﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SupplementaryMaterial.aspx.cs" Inherits="Hisun.View.Meterial.SupplementaryMaterial" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
        <div class =" CommonPage_MainPanel">
    <div class ="CommonPage_Banner"><div class = "CommomPage_Title">车间辅助材料查询</div></div>
    <div class ="CommonPage_Body">

    
        <table >
            <tr>
                <td>
                    <asp:Label ID="Label1" runat="server" Text="作业中心：" SkinID="Label"></asp:Label>
                    <asp:DropDownList ID="DropDownList_CenterId" runat="server" Height="21px" 
                        Width="177px" SkinID="DropdownList">
                    </asp:DropDownList>
                    <asp:Button SkinID = "Button" ID="Button_Query" runat="server" Text="查询" onclick="MyClick" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td colspan="3">
                    <br />

                    <asp:Panel ID="Panel_MainQuery" runat="server">                        <asp:LinkButton ID="LinkButton_First" runat="server" CommandArgument="First" 
                                    onclick="MyClick">&lt;&lt;</asp:LinkButton>
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="LinkButton_Prev" runat="server" CommandArgument="Prev" 
                                    onclick="MyClick"> &lt;</asp:LinkButton>
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="LinkButton_Next" runat="server" CommandArgument="Next" 
                                    onclick="MyClick">&gt;</asp:LinkButton>
                                &nbsp;&nbsp;
                                <asp:LinkButton ID="LinkButton_Last" runat="server" CommandArgument="Last" 
                                    onclick="MyClick"> &gt;&gt;</asp:LinkButton>
                                <asp:Label ID="Label_Total" runat="server" Text="共：" SkinID="Label"></asp:Label>
                                <asp:Label ID="Label_CurrenPageAndTo" runat="server" 
                        Text="页，当前第 页，转到" SkinID="Label"></asp:Label>
                                <asp:TextBox ID="TextBox_PageIndex" runat="server" Width="26px" 
                            SkinID="TextBox"></asp:TextBox>
                                <asp:Label ID="Label11" runat="server" Text="页" SkinID="Label"></asp:Label>
                                <asp:RangeValidator ID="RangeValidator_PageIndex" runat="server" 
                                    ControlToValidate="TextBox_PageIndex" ErrorMessage="*" MaximumValue="10000" 
                                    MinimumValue="1" Type="Integer"></asp:RangeValidator>
                                <asp:Button SkinID = "Button" ID="Button_PageGo" runat="server" CommandArgument="GotoPage" 
                                    onclick="MyClick" Text="GO" />
                    <asp:GridView ID="GridView_SupplementaryMeterial"  SkinID  ="GridView"  runat="server" 
                        AutoGenerateColumns="False">
                        <Columns>
                            <asp:BoundField DataField="材料ID" HeaderText="材料ID" ReadOnly="True" 
                                SortExpression="材料ID" />
                            <asp:BoundField DataField="材料名称" HeaderText="材料名称" />
                            <asp:BoundField DataField="计量单位" HeaderText="计量单位" ReadOnly="True" 
                                SortExpression="计量单位" />
                            <asp:BoundField DataField="数量" HeaderText="数量" ReadOnly="True" 
                                SortExpression="数量" DataFormatString="{0:F2}" />
                            <asp:BoundField DataField="金额" HeaderText="金额" />
                        </Columns>
                    </asp:GridView>
                    </asp:Panel>
                </td>
            </tr>
            <tr>
                <td>
                    <asp:HiddenField ID="CurrentPage" runat="server" Value="0" />
                </td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
            <tr>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
                <td>
                    &nbsp;</td>
            </tr>
        </table>
    
    </div>
    </div>
    </form>
</body>
</html>
